<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>My JSP 'login.jsp' starting page</title>
</head>

<body>
<div align="center">
	<form action="${pageContext.request.contextPath }/LoginServlet"
		method="post">
		<table>
			<tr>
				<td>用户名：</td>
				<td><input type="text" name="username" />
				</td>
			</tr>

			<tr>
				<td>密码：</td>
				<td><input type="password" name="password" />
				</td>
			</tr>

			<tr>
				<td>类别</td>
				<td><select name="status">
						<option value="0">读者</option>
						<option value="1">作者</option>
						<option value="2">管理员</option>
				</select>
				</td>
			</tr>

			<tr>
				<td><input type="reset" value="重置" />
				</td>
				<td><input type="submit" value="登陆" />
				</td>
			</tr>
		</table>
	</form>
	<a href="${pageContext.request.contextPath }">首页</a>
	</div>
</body>
</html>
